package com.runshu.newsmartark.entity;

import java.util.List;

/**
 * Demo class
 *
 * @author yu
 * @date 2020/7/23
 * @decs：
 */

public class LogsManagerBean {


    /**
     * pageNum : 1
     * pageSize : 5
     * totalSize : 5
     * totalPages : 1
     * content : [{"id":430,"type":"1","userId":1,"operationNumber":2,"createTime":"2020-08-06 08:02:03","username":"许进"},{"id":431,"type":"1","userId":1,"operationNumber":2,"createTime":"2020-08-06 08:04:31","username":"许进"},{"id":432,"type":"1","userId":1,"operationNumber":2,"createTime":"2020-08-06 08:04:31","username":"许进"},{"id":433,"type":"1","userId":1,"operationNumber":2,"createTime":"2020-08-06 08:04:31","username":"许进"},{"id":434,"type":"1","userId":1,"operationNumber":2,"createTime":"2020-08-06 08:04:54","username":"许进"}]
     */

    private int pageNum;
    private int pageSize;
    private int totalSize;
    private int totalPages;
    private List<ContentBean> content;

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getTotalSize() {
        return totalSize;
    }

    public void setTotalSize(int totalSize) {
        this.totalSize = totalSize;
    }

    public int getTotalPages() {
        return totalPages;
    }

    public void setTotalPages(int totalPages) {
        this.totalPages = totalPages;
    }

    public List<ContentBean> getContent() {
        return content;
    }

    public void setContent(List<ContentBean> content) {
        this.content = content;
    }

    public static class ContentBean {
        /**
         * id : 430
         * type : 1
         * userId : 1
         * operationNumber : 2
         * createTime : 2020-08-06 08:02:03
         * username : 许进
         */

        private String id;
        private String type;
        private String userId;
        private String operationNumber;
        private String createTime;
        private String username;
        private String userCode;

        public String getUserCode() {
            return userCode == null ? "" : userCode;
        }

        public void setUserCode(String userCode) {
            this.userCode = userCode == null ? "" : userCode;
        }

        public String getId() {
            return id == null ? "" : id;
        }

        public void setId(String id) {
            this.id = id == null ? "" : id;
        }

        public String getType() {
            return type == null ? "" : type;
        }

        public void setType(String type) {
            this.type = type == null ? "" : type;
        }

        public String getUserId() {
            return userId == null ? "" : userId;
        }

        public void setUserId(String userId) {
            this.userId = userId == null ? "" : userId;
        }

        public String getOperationNumber() {
            return operationNumber == null ? "" : operationNumber;
        }

        public void setOperationNumber(String operationNumber) {
            this.operationNumber = operationNumber == null ? "" : operationNumber;
        }

        public String getCreateTime() {
            return createTime == null ? "" : createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime == null ? "" : createTime;
        }

        public String getUsername() {
            return username == null ? "" : username;
        }

        public void setUsername(String username) {
            this.username = username == null ? "" : username;
        }
    }
}